go/types.Checker.newTypeParam (method)

4 uses

	go/types (current package)
		builtins.go#L1004: 		ptyp := check.newTypeParam(tpar, NewInterfaceType(nil, []Type{NewUnion(terms)})) // assigns type to tpar as a side-effect
		decl.go#L742: 	tpar := check.newTypeParam(tname, Typ[Invalid]) // assigns type to tname as a side-effect
		typeparam.go#L40: 	return (*Checker)(nil).newTypeParam(obj, constraint)
		typeparam.go#L44: func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam {